#region Usings

using System;

#endregion

namespace Karma.Framework.Core.Domain
{
    [AttributeUsage(AttributeTargets.Field)]
    public class DescriptionValueAttribute : Attribute
    {
        /// <summary>
        /// Constructor used to init a Value Attribute
        /// </summary>
        /// <param name="value"></param>
        public DescriptionValueAttribute(string value)
        {
            Value = value;
        }

        /// <summary>
        /// Holds the stringvalue for a value in an enum.
        /// </summary>
        public string Value { get; protected set; }
    }
}